package com.common.frame.mvp.base;


import androidx.lifecycle.LifecycleOwner;

public interface IPresenter<V extends IView> {

    /**
     * 当与View发生连接的时候调用
     * @param view 依附的View
     */
    void attachView(LifecycleOwner owner, V view);

    /** 当View销毁的时候调用*/
    void onDestroy();

}
